package com.example.webbrowser.Utils;

public class PageUtils {
    public static String error(){
        String str = "<!DOCTYPE html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<!-- <title>blue-text-404page.html</title> -->\n" +
                "<title>拦截页面</title>\n" +
                "\n" +
                "<meta http-equiv=\"keywords\" content=\"404页面\">\n" +
                "<meta http-equiv=\"description\" content=\"自定义404页面\">\n" +
                "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n" +
                "\n" +
                "<style type=\"text/css\">\n" +
                "* {\n" +
                "\tmargin: 0px;\n" +
                "\tpadding: 0px;\n" +
                "\tfont-family: \"微软雅黑\";\n" +
                "\tfont-size: 16px;\n" +
                "}\n" +
                "\n" +
                "a {\n" +
                "\ttext-decoration: none;\n" +
                "\tcolor: #1064A0;\n" +
                "}\n" +
                "\n" +
                "h1,h2 {\n" +
                "\tmargin: 0;\n" +
                "\tfont-weight: normal;\n" +
                "\tfont-family: \"微软雅黑\";\n" +
                "}\n" +
                "\n" +
                ".errorpPage-box h1 {\n" +
                "\tfont-size: 44px;\n" +
                "\tcolor: #0188DE;\n" +
                "\tpadding: 20px 0px 10px;\n" +
                "}\n" +
                "\n" +
                ".errorpPage-box h2 {\n" +
                "\tcolor: #0188DE;\n" +
                "\tfont-size: 16px;\n" +
                "\tpadding: 10px 0px 40px;\n" +
                "}\n" +
                "\n" +
                ".errorpPage-box p {\n" +
                "\tcolor: #666;\n" +
                "}\n" +
                "\n" +
                ".errorpPage-box {\n" +
                "\twidth: 910px;\n" +
                "\tpadding: 20px 20px 40px;\n" +
                "\tmargin-top: 80px;\n" +
                "\tborder-style: dashed;\n" +
                "\tborder-color: #e4e4e4;\n" +
                "\tline-height: 30px;\n" +
                "\tmargin-left: auto;\n" +
                "\tmargin-right: auto;\n" +
                "}\n" +
                "\n" +
                ".errorpPage-operate .operateBtn {\n" +
                "\twidth: 180px;\n" +
                "\theight: 28px;\n" +
                "\tmargin-left: 0px;\n" +
                "\tmargin-top: 10px;\n" +
                "\tbackground: #009CFF;\n" +
                "\tborder-bottom: 4px solid #0188DE;\n" +
                "\ttext-align: center;\n" +
                "\tdisplay: inline-block;\n" +
                "\tfont-size: 14px;\n" +
                "\tcolor: #fff;\n" +
                "}\n" +
                "\n" +
                ".errorpPage-operate .operateBtn:hover {\n" +
                "\tbackground: #5BBFFF;\n" +
                "}\n" +
                "</style>\n" +
                "</head>\n" +
                "\n" +
                "<body>\n" +
                "\t<div class=\"errorpPage-box\">\n" +
                "\t\t<h1>对不起！您不能访问谷歌页面。</h1>\n" +
                "\t\t<h2>Sorry, You cannot access Google pages.</h2>\n" +
                "\t\t<p>在国内，您可以选择使用一下搜索：</p>\n" +
                "\t\t<div class=\"errorpPage-operate\">\n" +
                "\t\t\t<a href=\"https://www.baidu.com\" class=\"operateBtn\" title=\"百度\">百度</a>\n" +
                "\t\t\t<a href=\"https://www.sogou.com\" class=\"operateBtn\" title=\"搜狗\">搜狗</a>\n" +
                "\t\t\t<a href=\"https://www.so.com\" class=\"operateBtn\" title=\"360\">360</a>\n" +
                "\t\t</div>\n" +
                "\t</div>\n" +
                "</body>\n" +
                "</html>\n";
        return str;
    }
}
